﻿define(['plugins/router', 'knockout'], function(router, ko) {
    var childRouter = router.createChildRouter()
        .makeRelative({
            moduleId:'album',
            fromParent:true
        }).map([
            { route: ['', 'example01'],  moduleId: 'example01/index',   title: '3D旋转相册',         url: 'https://www.jsdaima.com/js/1840.html',  nav: true },
            { route: 'example02',        moduleId: 'example02/index',   title: '3D水晶盒子',         url: 'https://www.jsdaima.com/js/4377.html',  nav: true },
            { route: 'example03',        moduleId: 'example03/index',   title: '弧形左右切换相册',    url: '',                                      nav: true },
        ]).buildNavigationModel();

    return {
        router: childRouter,
    };
});
